from django.conf.urls import url,include
from .views import ProjectsView
from  rest_framework import routers
from .views import *

router = routers.DefaultRouter(trailing_slash=False)
router.register(r'projects', ProjectViewSet)

urlpatterns = [
    url(r'^List/$', ProjectsView.as_view(), name='projects'),
    url(r'^', include(router.urls, namespace='api')),
]
